package cn.edu.ujn.booksshop.service;

import java.util.List;

import cn.edu.ujn.booksshop.dao.Author;
import cn.edu.ujn.util.Page;

public interface IAuthorService {
	
	int deleteByPrimaryKey(Integer authorid);

    int insert(Author row);

    int insertSelective(Author row);

    Author selectByPrimaryKey(Integer authorid);

    int updateByPrimaryKeySelective(Author row);

    int updateByPrimaryKeyWithBLOBs(Author row);

    int updateByPrimaryKey(Author row);
    
    Page<Author> selectAll(Integer page,Integer rows,String authorName);
    
    Integer selectAuthorListCount();
}
